#{ifnot objects}

<div style="text-align: center; font-weight: bold">
<br /><br /><br /><br /><br /><br /><br />No objects</div>
	
#{/ifnot}
#{else}
<div id="findObjectsList">
	#{list items:objects, as:'object'}
		<div style="height: 150px; margin: 5px; width: 110px;  display:inline-block; vertical-align: top;">
		<a href="@{Views.viewObject(object.id, true)}">
			<div style="width: 100px; height: 100px; margin-left: 5px; margin-top: 5px; border: 1px solid black;  background-image: url('${object.getAttribute("thumb")}'); background-size: cover; background-position: center">
			</div>
			<div style="margin-left: 5px; width: 100px; height: 40px; font-weight: bold; font-size: 9pt; padding: 3px; text-align: center;">
				${object}
			</div>
			</a>
		</div>
	#{/list}
	</div>
#{/else}